﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopMenu.ascx.cs" Inherits="Bussiness.View.BackEnd.User_Control.TopMenu" %>
           <style type="text/css">
        .x-menu.x-menu-horizontal .x-menu-list {
            overflow: hidden;
        }
        .x-menu.x-menu-horizontal .x-menu-list .x-menu-list-item {
            float: left;
        }
        .x-menu.x-menu-horizontal .x-menu-list .x-menu-list-item .x-menu-item-arrow {
            background: none;
        }
    </style>
   <ext:Menu ID="Menu1" 
            runat="server" 
            Hidden="false" 
            ShowSeparator="false" 
            EnableScrolling="false"
            Cls="x-menu-horizontal" 
            Floating="false" 
            SubMenuAlign="tl-bl?">
            <Items>
                <ext:MenuItem ID="MenuItem1" runat="server" Text="Home" Icon="House">
                    <Listeners>
                        <Click Fn="To_Home" />
                    </Listeners>
                </ext:MenuItem>
                <ext:MenuItem ID="MenuItem2" runat="server" Text="Hướng dẫn" Icon="Help">
                    
                </ext:MenuItem>
                <ext:MenuItem ID="MenuItem3" runat="server" Text="Đổi mật khẩu" Icon="ArrowRefresh">
                    
                </ext:MenuItem>
                <ext:MenuItem ID="MenuItem7" runat="server" Text="Logout" Icon="LockStop">
                     <Listeners>
                        <Click Fn="To_Login" />
                    </Listeners>
                </ext:MenuItem>
            </Items>
        </ext:Menu>
        
        
        <script type="text/javascript">
            function To_Login() {
                window.location = 'Login.aspx';
            }
            function To_Home() {
                window.location = 'MG_Orders.aspx';
            }
        
        </script>